﻿using Coder.Workflow;
using Fee.Orders;
using Fee.Orders.PreWorkflow;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Fee.Mapping.Orders.PreDesignOrder
{
    public class PreDelegateOrderMapping : IEntityTypeConfiguration<PreDelegateOrder>
    {
        public void Configure(EntityTypeBuilder<PreDelegateOrder> builder)
        {
            builder.HasBaseType<DelegateOrderBase>();

            builder.Property(_ => _.BatchNo);
      
        }
    }
}